package com.vlong.town.entity.policy;

import java.io.Serializable;

/**
 * 政策信息实体类
 * @author Assassin
 */
public class PolicyInfo implements Serializable {

    /**
     * default SerialVersionUID
     */
    private static final long serialVersionUID = 1L;

    // Fields

    private Long policyId;// 标识信息-政策Id[主键值]
    private Long townId;// 标识信息-村镇Id
    private Integer state;// 状态信息-数据状态[1-正常 | 2-删除]
    private Integer status;// 状态信息-政策状态[1-已发布]
    private String title;// 基础信息-政策标题
    private String content;// 基础信息-政策内容
    private String desc;// 基础信息-政策简介
    private String thumbnail;// 基础信息-缩略图
    private Long createTime;// 时间信息-发布时间
    private Long updateTime;// 时间信息-更新时间
    private String  createDate;//时间 

    // Empty Constructor
    public PolicyInfo() {
        super();
    }


    // Property accessors


    public String getCreateDate() {
		return createDate;
	}

	public Long getPolicyId() {
		return policyId;
	}


	public void setPolicyId(Long policyId) {
		this.policyId = policyId;
	}


	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}

    public Long getTownId() {
        return townId;
    }

    public void setTownId(Long townId) {
        this.townId = townId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getThumbnail() {
        return thumbnail;
    }

    public void setThumbnail(String thumbnail) {
        this.thumbnail = thumbnail;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }


	public PolicyInfo(Long policyId, Long townId, Integer state, Integer status, String title, String content,
			String desc, String thumbnail, Long createTime, Long updateTime, String createDate) {
		super();
		this.policyId = policyId;
		this.townId = townId;
		this.state = state;
		this.status = status;
		this.title = title;
		this.content = content;
		this.desc = desc;
		this.thumbnail = thumbnail;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.createDate = createDate;
	}


	@Override
	public String toString() {
		return "PolicyInfo [policyId=" + policyId + ", townId=" + townId + ", state=" + state + ", status=" + status
				+ ", title=" + title + ", content=" + content + ", desc=" + desc + ", thumbnail=" + thumbnail
				+ ", createTime=" + createTime + ", updateTime=" + updateTime + ", createDate=" + createDate + "]";
	}

}
